import request from '@/utils/request'

// 查询流程审批日志列表
export function listSHEETDEAL(query) {
  return request({
    url: '/wodemand/SHEETDEAL/list',
    method: 'get',
    params: query
  })
}

// 查询流程审批日志详细
export function getSHEETDEAL(sheetId) {
  return request({
    url: '/wodemand/SHEETDEAL/' + sheetId,
    method: 'get'
  })
}

// 新增流程审批日志
export function addSHEETDEAL(data) {
  return request({
    url: '/wodemand/SHEETDEAL',
    method: 'post',
    data: data
  })
}

// 修改流程审批日志
export function updateSHEETDEAL(data) {
  return request({
    url: '/wodemand/SHEETDEAL',
    method: 'put',
    data: data
  })
}

// 删除流程审批日志
export function delSHEETDEAL(sheetId) {
  return request({
    url: '/wodemand/SHEETDEAL/' + sheetId,
    method: 'delete'
  })
}

// 导出流程审批日志
export function exportSHEETDEAL(query) {
  return request({
    url: '/wodemand/SHEETDEAL/export',
    method: 'get',
    params: query
  })
}
